package com.admin.business.background.approval;

import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApprovalDao {



    CDO getPostInfoByPostId(String post_id);



    int getOrgTotalByUserIdAndOrgId(CDO cdo);

    /**根据org_id和user_id获取该人在该公司下担任的公司orgList，项目proList，部门deptList，岗位postList*/
    List<CDO> getOrgProDeptPostListByOrgIdAndUserId(String org_id, String user_id);


    CDO getOrgSysUserIdByOrgId(String org_id);

    CDO getEmployeeCodeByUserIdAndPostId(String user_id,String post_id);
}
